package com.auto.survey.activity.geosurv.backward.jni

import com.auto.survey.activity.geosurv.backward.entity.CalculationResult
import com.auto.survey.activity.geosurv.backward.entity.Observation
import com.auto.survey.activity.geosurv.backward.entity.Point

class MyNativeClass {

    // 加载 native 库
    init {
        System.loadLibrary("native-lib")
    }

    // 声明 native 方法
    external fun stringFromJNI(): String

    external fun calculateResectionToJNI(points:List<Point>, observation: List<Observation>, size:Int): CalculationResult

}